package com.iye.puretennis.helper;

import com.iye.puretennis.domain.UrlSuffix;

/**
 * Author: Chuanbao on 2014/11/11.
 */
public class RemoteUrlCollections {
    private static String HOST = "192.168.1.108:8080";
    public static String WEB_SOCKET_HOST = "ws://" + HOST;
    public static String REMOTE_SERVER_HOST = "http://" + HOST;
    public static final String VERSION_PATH = "api/v1";

    public static String getUrl(UrlSuffix urlSuffix) {
        return REMOTE_SERVER_HOST + "/" + VERSION_PATH + urlSuffix.getSuffix();
    }


}
